package com.example.DAO;

import com.example.entity.Adminuser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AdminuserDAO {
    @Select("SELECT * FROM  adminuser WHERE aduName=#{adminuser.aduname} AND aduPwd =  #{adminuser.adupwd}")
    Adminuser findAdmin(@Param("adminuser")Adminuser adminuser);

}
